﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Actuals.CoreDomain.Business;
using Actuals.CoreDomain;
using Actuals.CoreDomain.Data;
using Actuals.Data;

namespace Actuals.Business
{
    public class BusinessTeamEmpJoinLeave : IBusinessTeamEmpJoinLeave
    {
        private IDalEmpTeamJoinLeave _dalEmpTeamJoinLeave;

        public BusinessTeamEmpJoinLeave(IDalEmpTeamJoinLeave dalEmpTeamJoinLeave)
        {
            _dalEmpTeamJoinLeave = dalEmpTeamJoinLeave;
        }

          public BusinessTeamEmpJoinLeave()
        {
            _dalEmpTeamJoinLeave = new DalEmpTeamJoinLeave();
        }

          public IList<IEmpTeamJoinLeave> GetDetails( int teamId,
              DateTime startDate, DateTime endDate)
          {
              return _dalEmpTeamJoinLeave.GetDetails( teamId, startDate, endDate);
          }


    }
}
